<?php
//跨房间PK记录表
namespace App\Models\MainDB;

use Illuminate\Database\Eloquent\Model;

class CrossRoomPk extends Model{

    protected $table = 'ln_cross_room_pk';     //数据库内完整表名

    protected $primaryKey = 'id';    //主键名

    public $timestamps = false;

    public function room()
    {
        return $this->hasOne(UserRoom::class,'id','meet_room_id');
    }

}